package com.x.provider.api.customer.service;

import com.x.core.web.api.R;
import com.x.provider.api.customer.constants.ServiceNameConstants;
import com.x.provider.api.customer.model.dto.common.SetEntityAddressReqDTO;
import com.x.provider.api.customer.model.dto.directory.AttributeDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(contextId = "commonRpcService", value = ServiceNameConstants.CUSTOMER_SERVICE)
public interface CommonRpcService {

    @PostMapping(ServiceNameConstants.COMMON_URL_PREFIX + "/entity/address/set")
    R<Void> saveEntityAddress(@RequestBody SetEntityAddressReqDTO setEntityAddressReqDTO);


}
